package com.douglas.managesystem.common;

/**
 * 角色枚举
 * @author  douglas
 */
public enum RoleTypeEnum {
    TEACHER("1","老师"),
    STUDENT("2","学生"),
    SYSTEM("3","管理员")
    ;

    private String code;
    private String role;

    RoleTypeEnum(String code,String role) {
        this.code = code;
        this.role = role;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }}
